package com.dianplus.biz.auth.repository;

import com.dianplus.biz.auth.domain.SysLogin;
import com.dianplus.biz.repository.CustomRepository;

import java.util.Optional;

public interface SysLoginRepository extends CustomRepository<SysLogin,Long> {
    Optional<SysLogin> findOneWithRolesByLogin(String login);
    Optional<SysLogin> findOneByLogin(String login);

}
